package com.zhangwei.moni_two.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.zhangwei.moni_two.entity.User;


public interface UserDao {

	@Select("SELECT *FROM tb_user WHERE loginname=#{loginName}")
	User selLoginName(@Param("loginName")String loginName);

	@Select("SELECT *FROM tb_user")
	List<User> selAllUser();

	Integer selAllCount();
	
	Integer selByInformation(@Param("i")int i);

}
